import http from '~/utils/http'

export function addResult(pid, data, project) {
  return http.post('app.user_result/addResult', {
    pid,
    data,
    project,
  })
}

export function getResult(id) {
  return http.post('app.user_result/getResult', {
    id,
  })
}
